#include "Props.h"


Props::Props(string imagePath,int x,int y,int w,int h, Engine* e): Entity(x,y,w,h,e)
{
	this->image = new Image(imagePath.c_str());
	this->image->load();
}


Props::~Props(void)
{
}

void Props::draw(SDL_Surface * screen)
{
	 //Blit the surface
	SDL_BlitSurface( image->getImage(), NULL, screen, posRect );
}

void Props::move(){
	posRect->x++;
}
